cssprovider: Names starting with -gtk- aren't style props
authorBenjamin Otte <otte@redhat.com>
Mon, 16 Jun 2014 20:13:07 +0000 (22:13 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 16 Jun 2014 22:01:25 +0000 (00:01 +0200)
commitaa6652aac7f6bcf61df111f5ce81c656086e3249
treee717eb3ef927d9f404b26d548bc91760addd8085
parentf0f9c2aa37893cf5d3f09ce9c8ac36a88d661e37
cssprovider: Names starting with -gtk- aren't style props

We want to have the "-gtk-" prefix for our custom CSS properties. But
we also want to parse names starting with a "-" as style properties.
So make sure that "-gtk-" is treated like a normal property and we emit
errors when somebody uses it wrong.

This is to catch errors with people typing
  -gtk-iconsource: none;
instead of the correct
  -gtk-icon-source: none;
gtk/gtkcssprovider.c